/*
 * HashNode.cpp
 * Author: Elias Capito, Yanick Candaux
 * PCM
 */


#include "HashNode.hpp"
#include <cstring>
namespace pcm {

LL HashNode::cons = 0;
HashNode::HashNode() {
	m_reversedKey=0;
	m_item=NULL;
	m_sentinel = false;
	m_next = NULL;
#ifdef CACLUTATE_CONS_AND_DES
	#pragma omp atomic
	cons++;
#endif
}

HashNode::~HashNode() {
#ifdef CACLUTATE_CONS_AND_DES
	#pragma omp atomic
	cons--;
#endif
}

} /* namespace pcm */
